stylecontext: Always warn on style mismatch
authorBenjamin Otte <otte@redhat.com>
Fri, 6 Nov 2015 17:57:24 +0000 (18:57 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 6 Nov 2015 17:59:15 +0000 (18:59 +0100)
commita9814fea7d169400b033bc28f3b7570b3423bc15
tree193a3314ad1f8221db7813f6c5439d87a638f20d
parent68ed166c60f796328c2be40a7f3df9db23f708c2
stylecontext: Always warn on style mismatch

For now, always warn when
gtk_style_context_get()/get_padding()/get_margin()/get_border()
get called with the wrong state.

We used to hide this behind an env var because the warnings were
too frequent, but with the recent refactorings, this warning has become
rather important for detecting bugs.

If it's still problematic, we might want to revert this patch before
3.20.
gtk/gtkstylecontext.c